Optimal. Leaf size=383 \[ \frac {(A b-a B) (b d-a e)^5 (a+b x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{6 b^7}+\frac {(b d-a e)^4 (b B d+5 A b e-6 a B e) (a+b x)^6 \sqrt {a^2+2 a b x+b^2 x^2}}{7 b^7}+\frac {5 e (b d-a e)^3 (b B d+2 A b e-3 a B e) (a+b x)^7 \sqrt {a^2+2 a b x+b^2 x^2}}{8 b^7}+\frac {10 e^2 (b d-a e)^2 (b B d+A b e-2 a B e) (a+b x)^8 \sqrt {a^2+2 a b x+b^2 x^2}}{9 b^7}+\frac {e^3 (b d-a e) (2 b B d+A b e-3 a B e) (a+b x)^9 \sqrt {a^2+2 a b x+b^2 x^2}}{2 b^7}+\frac {e^4 (5 b B d+A b e-6 a B e) (a+b x)^{10} \sqrt {a^2+2 a b x+b^2 x^2}}{11 b^7}+\frac {B e^5 (a+b x)^{11} \sqrt {a^2+2 a b x+b^2 x^2}}{12 b^7} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.51, antiderivative size = 383, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, Rules used = {784, 78}
\begin {gather*} \frac {e^4 \sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^{10} (-6 a B e+A b e+5 b B d)}{11 b^7}+\frac {e^3 \sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^9 (b d-a e) (-3 a B e+A b e+2 b B d)}{2 b^7}+\frac {10 e^2 \sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^8 (b d-a e)^2 (-2 a B e+A b e+b B d)}{9 b^7}+\frac {5 e \sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^7 (b d-a e)^3 (-3 a B e+2 A b e+b B d)}{8 b^7}+\frac {\sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^6 (b d-a e)^4 (-6 a B e+5 A b e+b B d)}{7 b^7}+\frac {\sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^5 (A b-a B) (b d-a e)^5}{6 b^7}+\frac {B e^5 \sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^{11}}{12 b^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rule 784
Rubi steps
\begin {align*} \int (A+B x) (d+e x)^5 \left (a^2+2 a b x+b^2 x^2\right )^{5/2} \, dx &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (a b+b^2 x\right )^5 (A+B x) (d+e x)^5 \, dx}{b^4 \left (a b+b^2 x\right )}\\ &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (\frac {(A b-a B) (b d-a e)^5 \left (a b+b^2 x\right )^5}{b^6}+\frac {(b d-a e)^4 (b B d+5 A b e-6 a B e) \left (a b+b^2 x\right )^6}{b^7}+\frac {5 e (b d-a e)^3 (b B d+2 A b e-3 a B e) \left (a b+b^2 x\right )^7}{b^8}+\frac {10 e^2 (b d-a e)^2 (b B d+A b e-2 a B e) \left (a b+b^2 x\right )^8}{b^9}+\frac {5 e^3 (b d-a e) (2 b B d+A b e-3 a B e) \left (a b+b^2 x\right )^9}{b^{10}}+\frac {e^4 (5 b B d+A b e-6 a B e) \left (a b+b^2 x\right )^{10}}{b^{11}}+\frac {B e^5 \left (a b+b^2 x\right )^{11}}{b^{12}}\right ) \, dx}{b^4 \left (a b+b^2 x\right )}\\ &=\frac {(A b-a B) (b d-a e)^5 (a+b x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{6 b^7}+\frac {(b d-a e)^4 (b B d+5 A b e-6 a B e) (a+b x)^6 \sqrt {a^2+2 a b x+b^2 x^2}}{7 b^7}+\frac {5 e (b d-a e)^3 (b B d+2 A b e-3 a B e) (a+b x)^7 \sqrt {a^2+2 a b x+b^2 x^2}}{8 b^7}+\frac {10 e^2 (b d-a e)^2 (b B d+A b e-2 a B e) (a+b x)^8 \sqrt {a^2+2 a b x+b^2 x^2}}{9 b^7}+\frac {e^3 (b d-a e) (2 b B d+A b e-3 a B e) (a+b x)^9 \sqrt {a^2+2 a b x+b^2 x^2}}{2 b^7}+\frac {e^4 (5 b B d+A b e-6 a B e) (a+b x)^{10} \sqrt {a^2+2 a b x+b^2 x^2}}{11 b^7}+\frac {B e^5 (a+b x)^{11} \sqrt {a^2+2 a b x+b^2 x^2}}{12 b^7}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.23, size = 740, normalized size = 1.93 \begin {gather*} \frac {x \sqrt {(a+b x)^2} \left (132 a^5 \left (7 A \left (6 d^5+15 d^4 e x+20 d^3 e^2 x^2+15 d^2 e^3 x^3+6 d e^4 x^4+e^5 x^5\right )+B x \left (21 d^5+70 d^4 e x+105 d^3 e^2 x^2+84 d^2 e^3 x^3+35 d e^4 x^4+6 e^5 x^5\right )\right )+165 a^4 b x \left (4 A \left (21 d^5+70 d^4 e x+105 d^3 e^2 x^2+84 d^2 e^3 x^3+35 d e^4 x^4+6 e^5 x^5\right )+B x \left (56 d^5+210 d^4 e x+336 d^3 e^2 x^2+280 d^2 e^3 x^3+120 d e^4 x^4+21 e^5 x^5\right )\right )+110 a^3 b^2 x^2 \left (3 A \left (56 d^5+210 d^4 e x+336 d^3 e^2 x^2+280 d^2 e^3 x^3+120 d e^4 x^4+21 e^5 x^5\right )+B x \left (126 d^5+504 d^4 e x+840 d^3 e^2 x^2+720 d^2 e^3 x^3+315 d e^4 x^4+56 e^5 x^5\right )\right )+22 a^2 b^3 x^3 \left (5 A \left (126 d^5+504 d^4 e x+840 d^3 e^2 x^2+720 d^2 e^3 x^3+315 d e^4 x^4+56 e^5 x^5\right )+2 B x \left (252 d^5+1050 d^4 e x+1800 d^3 e^2 x^2+1575 d^2 e^3 x^3+700 d e^4 x^4+126 e^5 x^5\right )\right )+2 a b^4 x^4 \left (11 A \left (252 d^5+1050 d^4 e x+1800 d^3 e^2 x^2+1575 d^2 e^3 x^3+700 d e^4 x^4+126 e^5 x^5\right )+5 B x \left (462 d^5+1980 d^4 e x+3465 d^3 e^2 x^2+3080 d^2 e^3 x^3+1386 d e^4 x^4+252 e^5 x^5\right )\right )+b^5 x^5 \left (B x \left (792 d^5+3465 d^4 e x+6160 d^3 e^2 x^2+5544 d^2 e^3 x^3+2520 d e^4 x^4+462 e^5 x^5\right )+A \left (924 d^5+3960 d^4 e x+6930 d^3 e^2 x^2+6160 d^2 e^3 x^3+2772 d e^4 x^4+504 e^5 x^5\right )\right )\right )}{5544 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1067\) vs.
\(2(292)=584\).
time = 0.82, size = 1068, normalized size = 2.79 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 1289 vs.
\(2 (304) = 608\).
time = 0.30, size = 1289, normalized size = 3.37 \begin {gather*} \frac {1}{6} \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} A d^{5} x + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} A a d^{5}}{6 \, b} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} B x^{5} e^{5}}{12 \, b^{2}} - \frac {17 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} B a x^{4} e^{5}}{132 \, b^{3}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} {\left (5 \, B d e^{4} + A e^{5}\right )} x^{4}}{11 \, b^{2}} + \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} B a^{2} x^{3} e^{5}}{33 \, b^{4}} - \frac {3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} {\left (5 \, B d e^{4} + A e^{5}\right )} a x^{3}}{22 \, b^{3}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} {\left (2 \, B d^{2} e^{3} + A d e^{4}\right )} x^{3}}{2 \, b^{2}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} B a^{6} x e^{5}}{6 \, b^{6}} - \frac {16 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} B a^{3} x^{2} e^{5}}{99 \, b^{5}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} {\left (5 \, B d e^{4} + A e^{5}\right )} a^{5} x}{6 \, b^{5}} + \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} {\left (2 \, B d^{2} e^{3} + A d e^{4}\right )} a^{4} x}{6 \, b^{4}} - \frac {5 \, {\left (B d^{3} e^{2} + A d^{2} e^{3}\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{3} x}{3 \, b^{3}} + \frac {5 \, {\left (B d^{4} e + 2 \, A d^{3} e^{2}\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{2} x}{6 \, b^{2}} - \frac {{\left (B d^{5} + 5 \, A d^{4} e\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a x}{6 \, b} + \frac {31 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} {\left (5 \, B d e^{4} + A e^{5}\right )} a^{2} x^{2}}{198 \, b^{4}} - \frac {13 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} {\left (2 \, B d^{2} e^{3} + A d e^{4}\right )} a x^{2}}{18 \, b^{3}} + \frac {10 \, {\left (B d^{3} e^{2} + A d^{2} e^{3}\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} x^{2}}{9 \, b^{2}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} B a^{7} e^{5}}{6 \, b^{7}} + \frac {131 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} B a^{4} x e^{5}}{792 \, b^{6}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} {\left (5 \, B d e^{4} + A e^{5}\right )} a^{6}}{6 \, b^{6}} + \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} {\left (2 \, B d^{2} e^{3} + A d e^{4}\right )} a^{5}}{6 \, b^{5}} - \frac {5 \, {\left (B d^{3} e^{2} + A d^{2} e^{3}\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{4}}{3 \, b^{4}} + \frac {5 \, {\left (B d^{4} e + 2 \, A d^{3} e^{2}\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{3}}{6 \, b^{3}} - \frac {{\left (B d^{5} + 5 \, A d^{4} e\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{2}}{6 \, b^{2}} - \frac {65 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} {\left (5 \, B d e^{4} + A e^{5}\right )} a^{3} x}{396 \, b^{5}} + \frac {29 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} {\left (2 \, B d^{2} e^{3} + A d e^{4}\right )} a^{2} x}{36 \, b^{4}} - \frac {55 \, {\left (B d^{3} e^{2} + A d^{2} e^{3}\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} a x}{36 \, b^{3}} + \frac {5 \, {\left (B d^{4} e + 2 \, A d^{3} e^{2}\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} x}{8 \, b^{2}} - \frac {923 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} B a^{5} e^{5}}{5544 \, b^{7}} + \frac {461 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} {\left (5 \, B d e^{4} + A e^{5}\right )} a^{4}}{2772 \, b^{6}} - \frac {209 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} {\left (2 \, B d^{2} e^{3} + A d e^{4}\right )} a^{3}}{252 \, b^{5}} + \frac {415 \, {\left (B d^{3} e^{2} + A d^{2} e^{3}\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} a^{2}}{252 \, b^{4}} - \frac {45 \, {\left (B d^{4} e + 2 \, A d^{3} e^{2}\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}} a}{56 \, b^{3}} + \frac {{\left (B d^{5} + 5 \, A d^{4} e\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {7}{2}}}{7 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 821 vs.
\(2 (304) = 608\).
time = 3.62, size = 821, normalized size = 2.14 \begin {gather*} \frac {1}{7} \, B b^{5} d^{5} x^{7} + A a^{5} d^{5} x + \frac {1}{6} \, {\left (5 \, B a b^{4} + A b^{5}\right )} d^{5} x^{6} + {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} d^{5} x^{5} + \frac {5}{2} \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} d^{5} x^{4} + \frac {5}{3} \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} d^{5} x^{3} + \frac {1}{2} \, {\left (B a^{5} + 5 \, A a^{4} b\right )} d^{5} x^{2} + \frac {1}{5544} \, {\left (462 \, B b^{5} x^{12} + 924 \, A a^{5} x^{6} + 504 \, {\left (5 \, B a b^{4} + A b^{5}\right )} x^{11} + 2772 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{10} + 6160 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{9} + 3465 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{8} + 792 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} x^{7}\right )} e^{5} + \frac {1}{2772} \, {\left (1260 \, B b^{5} d x^{11} + 2772 \, A a^{5} d x^{5} + 1386 \, {\left (5 \, B a b^{4} + A b^{5}\right )} d x^{10} + 7700 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} d x^{9} + 17325 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} d x^{8} + 9900 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} d x^{7} + 2310 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} d x^{6}\right )} e^{4} + \frac {1}{252} \, {\left (252 \, B b^{5} d^{2} x^{10} + 630 \, A a^{5} d^{2} x^{4} + 280 \, {\left (5 \, B a b^{4} + A b^{5}\right )} d^{2} x^{9} + 1575 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} d^{2} x^{8} + 3600 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} d^{2} x^{7} + 2100 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} d^{2} x^{6} + 504 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} d^{2} x^{5}\right )} e^{3} + \frac {5}{252} \, {\left (56 \, B b^{5} d^{3} x^{9} + 168 \, A a^{5} d^{3} x^{3} + 63 \, {\left (5 \, B a b^{4} + A b^{5}\right )} d^{3} x^{8} + 360 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} d^{3} x^{7} + 840 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} d^{3} x^{6} + 504 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} d^{3} x^{5} + 126 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} d^{3} x^{4}\right )} e^{2} + \frac {5}{168} \, {\left (21 \, B b^{5} d^{4} x^{8} + 84 \, A a^{5} d^{4} x^{2} + 24 \, {\left (5 \, B a b^{4} + A b^{5}\right )} d^{4} x^{7} + 140 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} d^{4} x^{6} + 336 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} d^{4} x^{5} + 210 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} d^{4} x^{4} + 56 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} d^{4} x^{3}\right )} e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (A + B x\right ) \left (d + e x\right )^{5} \left (\left (a + b x\right )^{2}\right )^{\frac {5}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 1446 vs.
\(2 (304) = 608\).
time = 1.28, size = 1446, normalized size = 3.78 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \left (A+B\,x\right )\,{\left (d+e\,x\right )}^5\,{\left (a^2+2\,a\,b\,x+b^2\,x^2\right )}^{5/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________